package com.liuyang.mapper;

import com.liuyang.entity.Materials;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者:caleb
 * @since 2022-02-23
 */
public interface MaterialsMapper extends BaseMapper<Materials> {

    Materials queryMaterialsById(@Param("id") String id);

    List<Map> queryDisasterType();

    List<Map> queryDemandType();
}
